package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * @author YXF
 * @date 2020-07-17 09:50:13
 */
@Data
@TableName("tz_flow_user_analysis")
public class FlowUserAnalysis implements Serializable{
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户流量id" )
    @TableId
    private Long flowUserAnalysisId;

    @Schema(description = "创建日期" )
    private Date createDate;

    @Schema(description = "用户Id" )
    private String userId;

    @Schema(description = "省Id" )
    private Long provinceId;

    @Schema(description = "加购数量" )
    private Integer plusShopCart;

    @Schema(description = "下单金额" )
    private Double placeOrderAmount;

    @Schema(description = "支付金额" )
    private Double payAmount;

    @Schema(description = "浏览量" )
    private Integer visitNums;

    @Schema(description = "停留时长" )
    private Long stopTime;

    @Schema(description = "1:新用户  0:旧用户" )
    private Integer newUser;

    @Schema(description = "会话数" )
    private Integer sessionNums;

    @Schema(description = "浏览商品Id字符串" )
    private String visitProdIds;

    @Schema(description = "系统类型   1:pc  2:h5  3:小程序 4:安卓  5:ios" )
    private Integer systemType;

    @Schema(description = "uuid" )
    @TableField(exist = false)
    private String uuid;

    @Schema(description = "会话数set" )
    @TableField(exist = false)
    private Set<String> sessionSet;

    @Schema(description = "浏览商品集合" )
    @TableField(exist = false)
    private Set<String> visitProdSet;
}
